package builder;

public class Main {
    public static void main(String[] args) {
        Director director = new Director();

        Builder builder = new ConcreateBuilder();
        director.construct(builder);
        System.out.println(builder.getResult());

        Builder builder2 = new ConcreateBuilder2();
        director.construct(builder2);
        System.out.println(builder2.getResult());
    }
}